<?php

	class GP_page_mailing_list_thanks extends GP_controleur
	{
		var $controleur;
		
		function __construct()
		{
			global $page;
			$this -> controleur = parent::getInstance($page);
		}
		
		function afficher()
		{			
			global $page, $urirw;
			if (strlen($urirw))
			{
				$pagerw = fakeurl($urirw);
				$htmltmp = $this -> controleur -> htmlrw('header');
				$htmltmp .= $this -> controleur -> htmlrw($page);
				$htmltmp .= $this -> controleur -> htmlrw('footer');
				savefile($pagerw, $htmltmp);
				if (!IS_IE)
					header("HTTP/1.1 301 Moved Permanently");
				include($urirw);
			}
			else
			{
				$this -> controleur -> add_html('header');
				$this -> controleur -> add_html($page);
				$this -> controleur -> add_html('footer');
			}
		}
		
		function setvar($var, $val)
		{
			global $urirw;
			if (strlen($urirw))
				$this -> $var = $val;
			else
				$this -> controleur -> $var = $val;
		}
	}
	
	$page_mailing_list_thanks = new GP_page_mailing_list_thanks;
	$page_mailing_list_thanks -> setvar('titre', 'Registered - Comme des Garcons');
	$page_mailing_list_thanks -> setvar('meta_keywords', 'registered, mailing list, comme des garcons (No index this page)');
	$page_mailing_list_thanks -> setvar('meta_description', 'Registered - Comme des Garcons');
	$page_mailing_list_thanks -> afficher();
?>